package com.duan.mapper;

import com.duan.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    //获取所有user信息
    public List<User> selectUser();

    //根据Username和password进行查询
    public User selectUserByUsernameAndPassword(String username, String password);
}
